﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using SelfMadeMillionaire.Core.Repositories;
using SelfMadeMillionaire.Core.Services;

namespace SelfMadeMillionaire.BLL.Services
{
    public class LogVisitService : ILogVisitService
    {
         private readonly ILogVisitRepository _logRepository;

         public LogVisitService(ILogVisitRepository logRepository)
        {
            _logRepository = logRepository;
        }
        public Core.Entities.LogVisit Add(Core.Entities.LogVisit log)
        {
           return  _logRepository.Add(log);
        }
    }
}
